Skip to content

Commit

Permalink
update for env
Browse files Browse the repository at this point in the history
  • Loading branch information
rbi-aap committed Sep 2, 2024
1 parent abe2ad0 commit 4ccdc0b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests-py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ jobs:
python-version: 3.8

- name: docker-compose
run: docker-compose -f .actions-docker-compose.yml up -d
run: docker compose -f .actions-docker-compose.yml up -d

- run: |
sudo apt-get update
sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl
- name: cache pip
uses: actions/cache@v2
Expand All @@ -30,7 +34,7 @@ jobs:
- name: pip install
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install --upgrade pip==24.0 wheel setuptools
pip install -r dev-requirements.txt
- name: flake8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
python-version: 3.6

- name: docker-compose
run: docker-compose -f .actions-docker-compose.yml up -d
run: docker compose -f .actions-docker-compose.yml up -d

- run: |
sudo apt-get update
Expand Down
3 changes: 0 additions & 3 deletions assets/ui/components/ArticleBodyHtml.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,10 @@ class ArticleBodyHtml extends React.PureComponent {
return;
}

// const startTime = Date.now();

const loadHandler = () => {
// const loadTime = Date.now() - startTime;
if (player.media.videoWidth === 0 && player.media.videoHeight === 0) {
if (!player.poster) {
// } else {
player.poster = fallbackDefault;
}
} else {
Expand Down

0 comments on commit 4ccdc0b

Please sign in to comment.