Skip to content

Commit

Permalink
Possibly debug GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
dostuffthatmatters committed Jan 25, 2024
1 parent 2e1fb3d commit 874beb3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This repository only contains a Python library to interact with the metadata. Th
Install as a library:

```bash
poetry add em27_metadata
pdm add em27_metadata
# or
pip install em27_metadata
```
Expand Down
9 changes: 3 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,19 @@ runs:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: "pip"

# move all library files into working directory; this makes
# testing easier whebecausen we don't have to worry about
# different paths for the repo and the action. Copying the
# README.md is required for the poetry install command
# testing easier because we don't have to worry about
# different paths for the repo and the action.
- name: Copy action files
run: |
cp -r ${{ github.action_path }}/tests .
cp -r ${{ github.action_path }}/em27_metadata .
cp ${{ github.action_path }}/pyproject.toml .
cp ${{ github.action_path }}/pdm.lock .
cp ${{ github.action_path }}/README.md .
shell: bash

# install dependencies if cache does not exist
Expand Down
8 changes: 4 additions & 4 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "em27_metadata"
version = "1.0.0-rc.7"
version = "1.0.0-rc.8"
description = "Single source of truth for ESM's EM27 measurement logistics"
authors = [
{ name = "Moritz Makowski", email = "[email protected]" },
Expand Down Expand Up @@ -28,7 +28,7 @@ documentation = "https://em27-retrieval-pipeline.netlify.app/"
dev = [
"pytest>=7.4.4",
"mypy>=1.8.0",
"types-requests>=2.31.0.20240106",
"types-requests>=2.31.0.20240125",
"yapf>=0.40.2",
"python-dotenv>=1.0.1",
]
Expand Down

0 comments on commit 874beb3

Please sign in to comment.