Skip to content

Commit

Permalink
move to simple venv
Browse files Browse the repository at this point in the history
  • Loading branch information
Kislovskiy committed Aug 2, 2023
1 parent 401f612 commit 622d209
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
name: Generate Gallery PDF
name: 2023 PyData Berlin Generate galery.pdf
run-name: "️CI: ${{ github.event.head_commit.message }} (${{ github.sha }})"
on:
pull_request:
push:
branches: [2023-pycon-de*]
branches: [ main, 2023-pycon-de*]

jobs:
generate-pdf:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- name: Setup Python environment
uses: actions/checkout@v3

- name: Setup conda environment
uses: conda-incubator/setup-miniconda@v2
- uses: actions/setup-python@v4
with:
environment-file: 2023_PyData_Berlin/environment.yml
activate-environment: 2023_PyData_Berlin
python-version: '3.11'
run:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

- name: Run tests
shell: bash -el {0}
run:
Expand Down
4 changes: 4 additions & 0 deletions 2023_PyData_Berlin/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
numpy==1.25.0
pandas==2.0.1
matplotlib==3.7.1
pytest==7.3.0

0 comments on commit 622d209

Please sign in to comment.